package git.soulbgm.pojo;

import git.soulbgm.common.annotation.IdBuild;
import git.soulbgm.common.annotation.TimeBuild;
import git.soulbgm.common.enumerate.IdType;
import git.soulbgm.common.enumerate.TimeType;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import javax.persistence.Id;


/**
 * @author 贺瑞杰
 * @version V1.0
 * @date 2019-04-10 10:43
 * @description
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ImUser {

    @IdBuild(idType = IdType.SEQUENCE)
    @Id
    private Long id;
    private String username;
    private String password;
    private String nickname;
    private String sex;
    private String area;
    @TimeBuild(timeType = TimeType.NOW)
    private Long createTime;

}

